def encode_int(num, bits): ...
def decode_int(b): ...
